from scrapy import cmdline
# 项目开始执行脚本
cmdline.execute("scrapy crawl Mooc".split())